20.12.2000
©2000, Elmar Seestädt
9
Remote Interface
nInterface für die Remote ausführbaren Methoden
nNamenskonvention:
nDeinBeanName.java
nExtends EJBObject
npublic EJBHome getEJBHome() throws java.rmi.RemoteException;
npublic Handle getHandle() throws java.rmi.RemoteException;
npublic Object getPrimaryKey() throws java.rmi.RemoteException;
npublic boolean isIdentical(EJBObject obj) throws java.rmi.RemoteException;
npublic void remove() throws java.rmi.RemoteException, RemoveException;
nEnthält weiter die Business und Bean Methoden